/**
 * 项目名称：MSHF
 * 包名称：com.mt.edu.domain
 * 文件名称：OnlineAck.java
 */
package com.mt.edu.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 类名称：OnlineAck <br>
 * 类描述： 在线问题回答信息<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 29, 2014 12:24:28 AM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 29, 2014 12:24:28 AM <br>
 */
@Entity
@Table(name="OL_ONLINE_QUESTION")
public class OnlineAck implements Serializable {

	private static final long serialVersionUID = -1269867275507543872L;
	
	@Id
	@Column(name = "ACK_ID")
	private String id; 
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ONLINE_QUESTION_ID")
	private OnlineQuestion onlineQuestion;
	
	@Column(name = "ACK_CONTENT")
	private String content;

	@Column(name = "ACKOR_TYPE")
	private String type;
	
	@Column(name = "ACKOR_ID")
	private String ackor;
	
	@Column(name = "ACKOR_NAME")
	private String ackorName;
	
	@Column(name = "IS_SHOW")
	private Boolean isShow;
	
	@Column(name = "CREATE_DT")
	private Date createDt;
	
	@Column(name = "UPDATE_DT")
	private Date updateDt; 
	
	@Column(name = "OPERATOR")
	private String operator;
	
	@Column(name = "RESERVED1")
	private String reserved1;
	
	@Column(name = "RESERVED2")
	private String reserved2;
	
	@Column(name = "RESERVED3")
	private String reserved3;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public OnlineQuestion getOnlineQuestion() {
		return onlineQuestion;
	}

	public void setOnlineQuestion(OnlineQuestion onlineQuestion) {
		this.onlineQuestion = onlineQuestion;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAckor() {
		return ackor;
	}

	public void setAckor(String ackor) {
		this.ackor = ackor;
	}
	
	public String getAckorName() {
		return ackorName;
	}

	public void setAckorName(String ackorName) {
		this.ackorName = ackorName;
	}

	public Boolean getIsShow() {
		return isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}
}
